<template>
  <div class="footer">
      <div v-for="(item, idx) in footerList" :key="idx">
          <router-link :to="item.path">{{item.name}}</router-link>
      </div>
  </div>
</template>

<script lang="ts">
import { Component, Vue, Prop } from "vue-property-decorator";

@Component
export default class Footer extends Vue {
  @Prop({default: () => []})
  private footerList:any[]

}
</script>

<style lang="scss" scoped>
.footer {
  height: 50px;
  border-top: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-shrink: 0;
}
</style>